#include <gtk/gtk.h>
#include <libnemo-private/nemo-file.h>
#include <libnemo-private/nemo-icon-info.h>

int 
main (int argc, char* argv[])
{
    gtk_init (&argc, &argv);

    NemoFile *file;
    file = nemo_file_get_by_uri ("file:///usr/share/icons");

    NemoIconInfo *info;
    info = nemo_file_get_icon (file, 16, 0, 1, NEMO_FILE_ICON_FLAGS_FOR_OPEN_FOLDER);
    g_print ("used name:%s\n", nemo_icon_info_get_used_name (info));

    nemo_file_unref (file);

    return 0;
}